<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ include file="/WEB-INF/taglib.jsp"%>
<%
	String path = request.getContextPath();
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/strict.dtd">
<meta name="renderer" content="ie-comp"/>
<html>
	<head>
		<title>角色管理</title>
		<%@ include file="/WEB-INF/jsp/include.jsp"%>
		<script type="text/javascript">
            var path = "<%=path%>";
		</script>
	</head>

  <body  style="margin:5px; padding:0px;" >
  <%@ include file="/WEB-INF/jsp/loading.jsp" %>
	<div class="easyui-layout" fit="true" >
		<div id="AddDlgDiv" align="center"  style="margin:5px; padding:5px;">
			<form id="jsForm" method="post" >
				<table class="f_table" cellspacing="1">
					<tr>
						<td align="right" class="s_bg" style="width:100px;">
							角色代码：
						</td>
						<td align="left" style="width:160px;">
							<input type="text" id="roleCode" name="roleCode" style="width: 250px;" maxlength="20" class="easyui-validatebox" data-options="required:true,tipPosition:'left'"/>
						</td>
					</tr>
					<tr>
						<td align="right" class="s_bg" style="width:100px;">
							角色名称：
						</td>
						<td align="left"  style="width: 160px;">
							<input type="text" id="roleName" name="roleName" style="width: 250px;" maxlength="50" class="easyui-validatebox" data-options="required:true,tipPosition:'left'"/>
						</td>
					</tr>
					<tr>
						<td align="right" class="s_bg" style="width:100px;">
							角色描述：
						</td>
						<td align="left"  style="width: 160px;">
							<input type="text" id="description" name="description" style="width: 250px;"  class="easyui-validatebox"/>
						</td>
					</tr>
					<tr>
					<td align="right" class="s_bg" style="width:100px;">
						互斥角色：
					</td>
					<td align="left"  style="width: 160px;">
						<select id="initRole" class="easyui-combobox" name = "initRole" data-options="panelWidth:250"
								style="width: 250px;height: 32px;text-align: center;">
						</select>
					</td>
				</tr>
				</table>
			</form>  
			  <div align="center" style="margin-top: 15px;">
		        	<a href="javascript:void(0)" class="easyui-linkbutton" iconcls="icon-ok" onclick="submit_Add()">确定</a>
		        	<a href="javascript:void(0)" class="easyui-linkbutton" iconcls="icon-cancel" onclick="closeLayer();">取消</a>
       		 </div>
		</div>
	</div>
</body>
	<script type="text/javascript" src=" /resource/js/system/role/add.js"></script>
	<link rel="stylesheet" type="text/css" href="<%=path%>/resource/css/system/role/add.css">
</html>
